import * as types from './types'

export default {
	loginAction: ({commit},res) => {
		commit(types.LOGINACTION,res);
	},
	showLoading: ({commit}) => {
		commit(types.SHOWLOADING)
	},
	hideLoading: ({commit}) => {
		commit(types.HIDELOADING)
	},
	setdialogs: ({commit},res) => {
		commit(types.SETDIALOGS,res)
	}
}